package com.ruoyi.operation.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.operation.domain.TExchangerate;
import com.ruoyi.operation.domain.bo.THKDateBo;
import com.ruoyi.operation.domain.vo.TExchangerateVo;
import com.ruoyi.operation.domain.bo.TExchangerateBo;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 来自finchina的汇率Service接口
 *
 * @author ruoyi
 * @date 2025-09-22
 */
public interface ITExchangerateService {

    /**
     * 查询来自finchina的汇率
     */
    TExchangerateVo queryById(String natureday);

    /**
     * 查询来自finchina的汇率列表
     */
    TableDataInfo<TExchangerateVo> queryPageList(TExchangerateBo bo, PageQuery pageQuery);

    /**
     * 查询来自finchina的汇率列表
     */
    List<TExchangerateVo> queryList(TExchangerateBo bo);

    /**
     * 修改来自finchina的汇率
     */
    Boolean insertByBo(TExchangerateBo bo);

    /**
     * 修改来自finchina的汇率
     */
    Boolean updateByBo(TExchangerateBo bo);

    /**
     * 校验并批量删除来自finchina的汇率信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);


    R<String> getFtpFile(String path);

    R<String> executeStepDate(THKDateBo thkDateBo);

}
